<template>
  <div class="container">

    <br><br><br>
    <nuxt-link class="my-button" to="/">
      <div class="my-button">{{$t('home')}}</div>
    </nuxt-link>


  </div>
</template>

<script>
export default {
  name: "moments",
  components: {
  },
  head() {
    return {
      title: this.$t('moments'),
      meta: [
        { charset: 'utf-8' },
        { 'http-equiv': 'pragma', content: 'no-cache' },
        { 'http-equiv': 'cache-control', content: 'no-cache' },
        { 'http-equiv': 'expires', content: '0' },
        { content: 'telephone=no', name: 'format-detection' },
        { name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0,user-scalable=no' },
        { name: 'renderer', content: `webkit|ie-comp|ie-stand`},
        { hid: 'keywords', name: 'keywords', content: this.$t('moments') },
        { hid: 'description', name: 'description', content: this.$t('moments') },
      ],
      script: [
      ],
      link: [
      ]
    }
  },
  async asyncData() {
    // 异步数据处理，另外该方法的第一个参数为当前页面组件的 上下文对象。
    /*
    let res = await ({
      method: 'get',
      url: `/apiUrl.do?id=parameters`
    })
    return {
      dataList:res.data.list,
    }
    */
  },
  fetch() {
    // 与 asyncData 方法类似，用于在渲染页面之前获取数据填充应用的状态树（store）。不同的是 fetch 方法不会设置组件的数据。
  },
  mounted() {
  },
  methods: {
  },
  destroyed() {
  }
}
</script>

<style lang="stylus" scoped>
  .container{
    width: 1000px;
    margin: 0 auto;
    padding-top: 10px;
  }
</style>
